<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">


<ui:composition template="/templates/mainTemplate.xhtml">
	<ui:define name="pageTitle">${msg.newpassword}</ui:define>
	<ui:define name="pageHeader">${msg.newpassword}</ui:define>
	<ui:define name="maincontent">
		<h:form>
			<h:messages showSummary="true" showDetail="false"
				style="color: red; font-weight: bold;" />
			<h:panelGrid id="grid" columns="2">
				<h:outputLabel value="${msg.nick}" for="nick" />
				<h:inputText id="nick" value="#{person.nick}" required="true" />
				<h:outputLabel value="${msg.email}" for="email" />
				<h:inputText id="email" value="#{person.email}" required="true" />


				<h:commandButton id="send" value="Mail Senden"
					action="#{person.generateNewPassword}" />
				<h:commandButton id="cancel" value="Abbrechen"
					action="/pages/login.xhtml" immediate="true" />
			</h:panelGrid>
		</h:form>
	</ui:define>
</ui:composition>
</html>
